package com.lxh.decorator;

public class HighScoreDecorator extends Decorator {
    public HighScoreDecorator(SchoolReport schoolReport) {
        super(schoolReport);
    }

    private void reportHighScore() {
        System.out.println("这次考试最高分是70");
    }

    @Override
    public void report() {
        this.reportHighScore();
        super.report();
    }
}
